package cn.liuhuan1.webModelBean.api;

import cn.liuhuan1.webModelBean.bo.AfterUserBo;
import cn.liuhuan1.webModelBean.vo.AfterUserVo;

/**
 * @Auther: liuhuan
 * @Date: 2021/2/19 - 02 - 19 - 14:54
 * @Description:
 * @version: 1.0
 */
public interface AfterUserImp {

    /**
     * 后台登录
     * @param userName
     * @param password
     * @return
     */
    public AfterUserVo afterLogin(String userName, String password);

    /**
     * 根据token 获取登陆信息
     * @param token
     * @return
     */
    public AfterUserVo afterInfo(String token);

    /**
     * 修改账号信息
     * @param afterUserBo
     * @return
     */
    public void updateLogin(AfterUserBo afterUserBo);
}
